package com.lq.service;

import com.lq.pojo.Document;

import java.util.List;


public interface DocumentService {

    void saveFile(String url,Integer userId);

    List<Document> getAllDocumentByUserId(Integer offset, Integer limit, Integer userId);

    boolean deleteDocumentById(Integer documentId);

    Integer getNumsOfDocumentByUserId(Integer userId);

    String getDocumentPathByDocId(Integer documentId);
}
